import Vue from 'vue'
import Router from 'vue-router'
import Test from '../components/Test'
import MixinDemo from '../components/MixinDemo'

Vue.use(Router)

export default new Router({
  routes: [
   {
    path: '',
    redirect: 'test',
    component: Test
   },
   {
    path: '/test',
    component: Test
   },
   {
    path: '/mixin',
    component: MixinDemo
   }
  ]
})
